# Maintainer: Alexander F. Rødseth <xyproto@archlinux.org>
# Contributor: Angel Velasquez <angvp@archlinux.org>
# Contributor: Douglas Soares de Andrade <dsa@aur.archlinux.br>

pkgname=python-pyro
pkgver=4.82
pkgrel=2
pkgdesc='Distributed object middleware (RPC)'
url='https://github.com/irmen/Pyro4'
arch=(any)
license=(MIT)
makedepends=(git)
depends=(python python-serpent)
source=("git+$url#commit=40336cb0d47c326ebdd498d7e3afb9a34e1045fe") # tag: 4.82
b2sums=('SKIP')

package() {
  cd Pyro4
  python setup.py install --root="$pkgdir" --optimize=1
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

# getver: github.com/irmen/Pyro4/tags
